<%@ page import="com.e3.web.login.server.LoginForm"%>
<%@ page contentType="text/html; charset=utf-8"%>

<%
	response.setHeader("Expire","0");        	//   立即就失效，再次访问需要重新获取。   
	response.setHeader("Pragma","no-cache");   	//	  不缓存页面，   
	response.setHeader("Pragma","no-store");	//   任何环境都不缓存。
	LoginForm loginForm = (LoginForm)request.getAttribute("loginForm");
	if ( loginForm == null) {
		loginForm = new LoginForm();
	}
	
	String title = "测试公司-E3系统";
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="buffer" content="false">
<title><%=title%></title>
<script language="javascript" src="Resources/js/login.js"></script>
<script language="javascript" src="Resources/js/jquery-1.2.6.min.js"></script>
<script language="javascript" src="Resources/js/jquery_login.js"></script>
<script type="text/javascript">
  history.forward();
</script>
<link href="Resources/css/style.css" type="text/css" rel="stylesheet">

</head>

<body>
<form method="post" name="formLogin" id="formLogin"  action="login.html" onSubmit="return transferPassword();">
<div class="header">

</div><!--end header-->
<div class="login_main" id="login_main">
</div><!--end login_main-->
<div class="login_form" id="login_form">
<div class="login_form_top"></div><!--end login_form_top-->
<div class="login_form_logo">
</div><!--end login_form_logo-->

<div class="login_form_tab">
<div class="login_form_tabin">
<table class="login_tab font_wei" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="right" width="30%"><label class="login_form_text">公司代码:</label></td>
<td align="left" width="70%"><input type="text" class="login_input01"  name="corpCode" value='<%=loginForm.getCorpCode()%>' /></td>
</tr>
<tr>
<td align="right" width="30%"><label class="login_form_text">用户代码:</label></td>
<td align="left" width="70%"><input type="text" class="login_input01"  name="userCode" value='<%=loginForm.getUserCode()%>' /></td>
</tr>
<tr >
<td align="right"><label class="login_form_text">用户密码:</label></td>
<td style="margin-top:10px;"><input type="password" class="login_input02" name="password" value="guest"/></td>
</tr>

<tr >
<td colspan="2" align="center" style="padding-top:0px; padding-bottom:0px; height:10px; width:350px; overflow:hidden;">
<div style="height:1px; background:url(Resources/images/login_form_line.jpg) no-repeat center center; width:400px;"></div></td>
</tr>
<tr>
<td align="right"  style="padding-bottom:0px;">&nbsp;</td>
<td style="padding:6px 0 0 6px; padding-bottom:0px;"><img src="validateCodeServlet" id="validateCodeImg" name="validateCodeImg" />&nbsp;&nbsp;<a href="javascript:reloadImage();" style="color:#b4cbe1; font-size:12px;">看不清楚</a></td>
</tr>
<tr>
<td align="right" style="padding-bottom:0px;" ><label class="login_form_text">验  证  码:</label></td>
<td style="padding-bottom:0px;"><input class="login_input03" name="validateCode" value='<%=loginForm.getValidateCode() %>' /></td>
</tr>

<tr>
    <td colspan="2" align="center"><label class="loginMsg"><%=loginForm.getErrMessage()%></label>
    </td>
</tr>

</table>
</div><!--end login_form_tabin-->
</div><!--end login_form_tab-->
<div class="login_form_bot">
<div style="text-align:center; padding-top:20px;">
<input type="submit" class="login_but" name="Login" style="border:0;" value="&nbsp;" />&nbsp;&nbsp;&nbsp;&nbsp;
</div>
</div><!--end login_form_bot-->
</div>
</form>
<div class="footer">E3公司版权所有</div>
</body>
</html>

